package logic.bean;

import java.util.List;


public class JournalInfo
{
	private int         page; //当前页
	private int         pageNum;    //当前页显示多少条
	private int         totalNum;   //总条数
	private int         totalPage;  //总页数
	                                   
	private List<JournalColumn> columns;


	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<JournalColumn> getColumns() {
		return columns;
	}

	public void setColumns(List<JournalColumn> columns) {
		this.columns = columns;
	}

	@Override
    public String toString() {
	    return "JournalInfo [page=" + page + ", pageNum=" + pageNum + ", totalNum=" + totalNum + ", totalPage=" + totalPage + ", columns=" + columns + "]";
    }
	
}
